package com.wkbb.sports.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

//房间数据
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StudentOnlineRoomStu implements Serializable {
    @ApiModelProperty(value = "房间编号")
    private Long roomId;
    @ApiModelProperty(value = "战绩编号")
    private Long roomRecordId;
    @ApiModelProperty(value = "学生编号")
    private Long studentId;
    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @ApiModelProperty(value = "头像")
    private String headImgUrl;
    @ApiModelProperty(value = "跳绳速度平均记录（/分钟）")
    private Integer avgAMinuteCount;
    @ApiModelProperty(value = "当前跳绳成绩")
    private Integer count = 0;
    @ApiModelProperty(value = "状态 -1离线 0未准备 1已准备 2跳绳中")
    private Integer state = 0;
    @ApiModelProperty(value = "")
    private boolean isRobot = false;
    private int x;
}